This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: trapping background image size ~Umberto Nongeroson 16.Nov.03 10:37 PM a Web browser Domino Designer 6.0.1 CF2All Platforms
I assume you mean size in bytes, not dimensions.
The action of setting the background of a document to an imported image, creates an item called $BackgroundBody. Probably, in the Querysave event you can detect that NotesItem and test its ValueLength property.
If you're concerned that these images might take up too much space, why not supply several backgrounds as image resources? These use very little extra space each time they're used, and they're less trouble for the users than seeking out and importing their own backgrounds. Providing you name them so that they're grouped together at the top of the selection list, before any other images you use in your application.